/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  // 禁用 pages 目录扫描
  pageExtensions: ['tsx', 'ts', 'jsx', 'js'].filter(ext => 
    !process.env.NODE_ENV === 'production' || ext !== 'ts'
  ),
}

module.exports = nextConfig 